package threadDemo10;

public class TestDemo {
    public static void main(String[] args) {
        MyRunnable myRunnable =new MyRunnable();
        Thread thread=new Thread(myRunnable,"商家1");
        Thread thread2=new Thread(myRunnable,"商家2");
        Thread thread3=new Thread(myRunnable,"商家3");

        thread.start();
        thread2.start();
        thread3.start();
    }
}
